function ShowNumberAnimation(i,j,randNumber){
    let boxnumber = document.getElementById('box-number-'+i+'-'+j);
    let box = document.getElementById('box-'+i+'-'+j);
    box.style.backgroundColor = getnumberbgcolor(randNumber);
    boxnumber.style.color = getnumbercolor(randNumber);
    boxnumber.innerText=randNumber;

  
}

//randNumber目标 randNumberj当前
function showMovenumber(i,k,j,randNumber,randNumberj){
    let boxnumber = document.getElementById('box-number-'+i+'-'+k);
    let boxnumberj = document.getElementById('box-number-'+i+'-'+j);
    let box = document.getElementById('box-'+i+'-'+k);
    let boxj = document.getElementById('box-'+i+'-'+j);
  
    if(randNumber!=0){
        box.style.backgroundColor = getnumberbgcolor(randNumber);
        boxnumber.style.color = getnumbercolor(randNumber);
        boxnumber.innerText=randNumber;
        // console.log("oooo")
    }
    if(randNumberj==0){
        boxj.style.backgroundColor = 'sandybrown';
        boxnumberj.innerText='';
        // console.log("aaaaaaaaa")
    }
    

}




//上
function showMovenumberTop(i,k,j,randNumber,randNumberj){
    let boxnumber = document.getElementById('box-number-'+k+'-'+j);
    let boxnumberj = document.getElementById('box-number-'+i+'-'+j);
    let box = document.getElementById('box-'+k+'-'+j);
    let boxj = document.getElementById('box-'+i+'-'+j);
  
    if(randNumber!=0){
        box.style.backgroundColor = getnumberbgcolor(randNumber);
        boxnumber.style.color = getnumbercolor(randNumber);
        boxnumber.innerText=randNumber;
        console.log("oooo")
    }
    if(randNumberj==0){
        boxj.style.backgroundColor = 'sandybrown';
        boxnumberj.innerText='';
        console.log("aaaaaaaaa")
    }
    

}